package com.itheima.javabean;

public class StudentService {
    private Students s;
    public StudentService(Students s) {
        this.s = s;
    }
    //打印成绩
    public void printScore() {
        System.out.println("姓名：" + s.getName()+"，数学：" + s.getMath() + "，英语：" + s.getEnglish() + "，语文：" + s.getChinese());
    }
}
